package com.silence.gmall.product.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * sku销售属性值
 *
 * @author silence
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName(value = "sku_sale_attr_value")
public class SkuSaleAttrValueDto implements Serializable {

    /**
     * 序列号
     */
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 库存单元id
     */
    private String skuId;

    /**
     * spu_id(冗余)
     */
    private String spuId;

    /**
     * 销售属性值id
     */
    private String saleAttrValueId;

}